package utils

var (
	IdVerify               = Rules{"ID": {NotEmpty()}}
	LoginVerify            = Rules{"username": {NotEmpty()}, "password": {NotEmpty()}}
	SetUserVerify          = Rules{"ID": {NotEmpty()}, "username": {NotEmpty()}, "nick_name": {NotEmpty()}}
	RegisterVerify         = Rules{"username": {NotEmpty()}, "nick_name": {NotEmpty()}, "password": {NotEmpty()}, "role_id": {NotEmpty()}}
	PageInfoVerify         = Rules{"page": {NotEmpty()}, "page_size": {NotEmpty()}}
	AuthorityVerify        = Rules{"role_id": {NotEmpty()}, "role_name": {NotEmpty()}, "ParentId": {NotEmpty()}}
	AuthorityIdVerify      = Rules{"role_id": {NotEmpty()}}
	ChangePasswordVerify   = Rules{"username": {NotEmpty()}, "password": {NotEmpty()}, "new_password": {NotEmpty()}}
	SetUserAuthorityVerify = Rules{"uuid": {NotEmpty()}, "role_id": {NotEmpty()}}
)
